#ifndef __DELEGATE2_H_INCLUDED__
#define __DELEGATE2_H_INCLUDED__

// 5 parameters...
#define SUFFIX       2
#define TEMPLATE_PARAMS  \
  , class TP1, class TP2
#define TEMPLATE_ARGS    , TP1, TP2
#define PARAMS       TP1 p1, TP2 p2
#define ARGS         p1, p2

#include "IDelegate.h"
#include "CStaticDelegate.h"
#include "CMethodDelegate.h"
#include "CDelegate.h"

#undef SUFFIX
#undef TEMPLATE_PARAMS
#undef TEMPLATE_ARGS
#undef PARAMS
#undef ARGS
#endif